package com.lzs.DAO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lzs.PO.Family;

public interface FamilyDAO {

	public List<Family> findFamilyList(@Param("keyword")String keyword);

	public List<Family> findFamilyPagelist(@Param("keyword")String keyword,@Param("startIndex") int startIndex, @Param("pageSize")Integer pageSize);

	public long countFamilyByAdress(@Param("family_adress")String family_adress);

	public void addFamily(Map<String, Object> map);

	public Family findFamilyWithMember(@Param("family_id")String family_id);

	public Family findFamilyByFamilyId(@Param("family_id")String family_id);

	public void updateFamily(Map<String, Object> map);

	public void deleteFamily(@Param("family_id")String family_id);

}
